home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / e / mailinglists / amigae.0793july.archive / 000068_crash!cup.port….com!Politikill_Sun, 25 Jul 93 15:45:25 PST.msg < prev    next >
Internet Message Format  |  1994-05-26  |  4KB

  1. Received: by bkhouse.cts.com (V1.16/Amiga)
  2.     id AA00000; Sun, 25 Jul 93 15:45:25 PST
  3. Received: from nova.unix.portal.com by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #15) id m0oKEMo-0000GXC; Sun, 25 Jul 93 15:16 PDT
  5. Received: by nova.unix.portal.com (5.65b/4.1 1.383) 
  6.     id AA10696; Sun, 25 Jul 93 15:20:23 -0700
  7. Received: from hobo  by portal.unix.portal.com (1.685) 
  8.     id AA23418; Sun, 25 Jul 93 15:20:19 -0700
  9. Received: by hobo.corp.portal.com (4.1/4.0.3 1.68) 
  10.     id AA18378; Sun, 25 Jul 93 15:20:18 PDT
  11. Return-Path: <Politikill@cup.portal.com>
  12. Lines: 74
  13. Date: Sun, 25 Jul 93 15:20:16 PDT
  14. Message-Id: <9307251520.1.7106@cup.portal.com>
  15. X-Origin: The Portal System (TM)
  16. From: Politikill@cup.portal.com
  17. To: AmigaE@bkhouse.cts.com
  18. Subject: Re: Listviews and windows
  19.  
  20. >>>     I have been using E for about a month, and in that time have run into a
  21. >>> few problems (bugs? or just ignorance? :-)
  22. >
  23. >judge for yourselves... :-)
  24.  
  25.     Ahhh....so just ignorance :-)  Unfortunately I do not have any
  26. documentation except for the docs that came with E and a bunch of source code.
  27. which I have gotten from different sources. (still looking for more)
  28.  
  29. >AddTail(mylist,[...data..for..new..node...])
  30. >
  31. >a structure like [] is a static structure, i.e. the memory it's
  32. >in is not created at run time. because of this, every iteration
  33. >of your loop, you overwrite the previous values, and pass the
  34. >same structure to AddTail()! Instead, allocate each time a new node
  35. >
  36. >New(SIZEOF ln)
  37. >
  38. >and then fill it, and pass it to AddTail().
  39.  
  40.     Great...this looks doable. I can usually tell what someone is talking
  41. about, but can't do it myself without help until I have done something like it
  42. once before...I get this..should be very easy.  Will have to test it out.
  43.  
  44. >I have no clue what's crashing your machine, I'd need the code for that.
  45. >
  46. >I can help you with the windows, though:
  47. >Here's how you wait for messages from various windows:
  48. >
  49. >method one:
  50. >
  51. >- OR the sigbits from all windows involved into a variable "allsigs"
  52. >- in a loop, perform a Wait(allsigs)
  53. >- in a loop within that one, call GetMsg() in sequence on items
  54. >  of a list of ports (window.userport), until all have been processed.
  55. >
  56. >you can see from intuimessage.idcmpwindow which window
  57. >actually caused the message.
  58.  
  59.     I got this one to work perfectly, taking only about 10 minutes to modify
  60. my code and get it all set up. Unfortunately, it took me about an hour to find
  61. the module in which "mp" was in. Finally did tho! 
  62.  
  63. >method two.
  64. >
  65. >if you don't want to wait for more than one port, you can CreatePort()
  66. >your own, and connect all windows you open with this one port.
  67. >you'll then receive all messages here, and can decide which it
  68. >was from like in method one. How this is done in detail is
  69. >on page 254 of the RKRM libraries 3rd ed.
  70.  
  71.     This was the one my friend was doing which crashed his machine.  We both
  72. run 3.0 (I have an A4K and he has an A1200) so perhaps it is a bug in 3.0.
  73. Does not matter as we now have what we need.
  74.  
  75. >>> *-- GammaTag Version 2.8 --*
  76. >>> *-- *-- DOS ERROR: Please remove cat from drive DF0:...
  77. >
  78. >miauw!
  79.  
  80.  
  81.     GammaTag is what I _WAS_ working on.  V2.8 and below was in ARexx. 3.0
  82. never got above 0.06 (3.0V).  
  83.  
  84. /*-- The Gamma Quadrant -- Home of GammaSoft --*/ 
  85. DEF wizkid
  86. PROC main()
  87.   wizkid.inetaddress:='Politkill@cup.portal.com'
  88.   wizkid.realname:='Jeffrey J Peden ]['
  89. ENDPROC
  90.  
  91.  
  92. *-- GammaTag Version 2.8 --*
  93. *-- A hole is nothing, but you can break your neck in it.